﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace MusicTag
{
    class songManager
    {
        private static string name;
        private static string path;

        public static void SetName(string input)
        {
            name = input;
        }

        public static string GetName()
        {
            return name;
        }

        public static void PlaySong(string input)
        {
            Process.Start(input);
        }

        public static void OpenSongLocation(string input)
        {
            Process.Start("explorer.exe", "/select, " + input);
        }

        public static void FilePath(string input)
        {
            //path is set to what the input of 'songManager.FilePath(..)' is
            path = input;
        }

        public static string GetFilePath()
        {
            //returns the value of 'path'
            return path;
        }
    }
}
